class CreatePartners < ActiveRecord::Migration		
  def self.up		
    create_table :partners do |t|		
	t.column	:id,	:INT
	t.column	:member_id,	:INT
	t.column	:party_id,	:INT
	t.column	:document_id,	:INT
	t.column	:is_done,	:boolean
	t.column	:retreat_reason,	:TEXT
	t.column	:is_leader,	:boolean
	t.column	:is_schemer,	:boolean
	t.timestamps		
    end		
  end		
		
  def self.down		
    drop_table :partners		
  end		
end		
